<?php

namespace app\admin\model\order;

use app\admin\model\Admin;
use app\admin\model\goods\Brand;
use app\admin\model\goods\Goods;
use think\Model;


class SuborderNote extends Model
{
    // 表名
    protected $name = 'suborder_note';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = true;

    protected $append = [];

    public function admin(){
        return $this->hasOne(Admin::class, 'id', 'admin_id');
    }

}